package com.graduate.examapp.entity

import android.content.SharedPreferences
import java.time.LocalDate

data class LoginParam(
    val id: String,
    val password: String
)

data class LoginData(
    val id: String,
    val username: String,
    val insName: String,
    val jwt: String,
    val userType: String,
    val examDate: LocalDate,
    val roleList: Set<String>,
    val privilegeList: Set<String>
)

object UserInfoFactory {
    var sharedPreference: SharedPreferences? = null
    var loginData: LoginData? = null
    val xnxqh: String? = null
}

data class Teacher(
    val id: String,
    val username: String,
    val isForbidden: Boolean
)

data class StatusParam(
    val teacherId: String,
    val username: String,
    val isForbidden: Int
)




